package com.mm.mindmap;

import com.mm.api.config.DefaultFeignConfig;
import com.mm.common.pipeline.PipelineNode;
import com.mm.common.utils.ContextUtil;
import com.mm.mindmap.consistency.strategy.scheme.MQScheme;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.utils.JavaUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @BelongsProject: 8.mindmap
 * @BelongsPackage: com.mm.mindmap
 * @Author : 游在海里的鱼
 * @CreateTime : 2024-05-17  15:11
 * @Version : 1.0
 * @ClassName : TODO
 * @Description : TODO
 */
@EnableFeignClients(basePackages = "com.mm.api.client",defaultConfiguration = DefaultFeignConfig.class)
@SpringBootApplication
@MapperScan({"com.mm.common", "com.mm.mindmap"})
public class MindMapApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MindMapApplication.class, args);
        ContextUtil.setContext(run);
    }
}
